package cn.jaychang.demo.common.model;

import lombok.Builder;
import lombok.Data;

/**
 * @author jaychang
 * @since 2024/5/22
 **/
@Data
@Builder
public class Result<T> {
    private Integer code;
    private String message;
    private T data;

    public Result(Integer code, String message, T data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }
}
